package app.authorization.dto;

import java.io.Serializable;

public class MemberLevel implements Serializable {

    private static final long serialVersionUID = -8759803088378886244L;
    /**
     * 用户等级编号，对应member_info中member_level_id
     */
    private Integer id;

    private String memberLevel;

    private String memberLevelIcon;

    /**
     * 状态1-正常，-1删除
     */
    private Byte status;

    /**
     * 获取用户等级编号，对应member_info中member_level_id
     *
     * @return id - 用户等级编号，对应member_info中member_level_id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置用户等级编号，对应member_info中member_level_id
     *
     * @param id 用户等级编号，对应member_info中member_level_id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return member_level
     */
    public String getMemberLevel() {
        return memberLevel;
    }

    /**
     * @param memberLevel
     */
    public void setMemberLevel(String memberLevel) {
        this.memberLevel = memberLevel;
    }

    /**
     * @return member_level_icon
     */
    public String getMemberLevelIcon() {
        return memberLevelIcon;
//        return ImageAliyunPathProcessor.processAliyunPath("member_level", "member_level_icon", memberLevelIcon, "id",
//                id);
    }

    /**
     * @param memberLevelIcon
     */
    public void setMemberLevelIcon(String memberLevelIcon) {
//        this.memberLevelIcon = ImageAliyunPathProcessor.processAliyunPath("member_level", "member_level_icon",
//                memberLevelIcon, "id", id);
        this.memberLevelIcon = memberLevelIcon;
    }

    /**
     * 获取状态1-正常，-1删除
     *
     * @return status - 状态1-正常，-1删除
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * 设置状态1-正常，-1删除
     *
     * @param status 状态1-正常，-1删除
     */
    public void setStatus(Byte status) {
        this.status = status;
    }
}